use string validation instead