work with negative numbers