Fixed all syntax errors. Fully compiles