added custom validations for time