Now handling negative numbers properly.