updated the way to pass the validator parameters