Added functionality to not work with negative numbers