refactor syntaxValidators -- convert all input to array first