Improved flipFlop.