add another check to syntax checker