required validation check