handled parsing of strings of numbers