negative number handled