added number type to validation