fixed a problem with negative numbers
increased version