added more validations for dog