added number validation