Fix syntax errors
Runs, does not work
As far as I have tested, working