Done basic syntax error checking