replaced current, left and right with falseNext & trueNext.