for validations