Now compiles :)

Time to fix runtime errors :P