compiles

still doesn't work but syntax errors are gone