syntax related checks