validation for all