validate_functions