addding custom validations