 A storage element can be constructed by connecting several gates in a "latch" circuit.More complicated designs that use clock signals and that change only on a rising or falling edge of the clock are called edge-triggered "flip-flops".Formally, a flip-flop is called a bistable circuit, because it has two stable states which it can maintain indefinitely.