creating a custom validation annotation