set validateWith public