Correct function name for validation