add word check and syntax check