added number parsing