checks for negative numbers in more places.