well, i got it to compile, but it crashed immediately after that