Added support for negative numbers
Removed console logging