check syntax