accessor for validator