Fixed syntax errors and changed whitespace