Add custom validation