validations for check