syntax checks