additional syntax checking