making the validator less confusing syntactically