add new optional validatior which works with coerced data