checking syntax