added numeric validation