checked syntax for errors