understand negative numbers and numbers with trailing spaces