Fixed syntax errors and spacing