added util for number parsing