fixed syntax and file endings