Compiler now fully working