adding missing validation