Fixing some syntax errors and stuff