fixes syntax and spacing