added custom validations