allow configuration of validator object