Master/slave
When the 2 flip-flops are triggered from same clock, or if one of the outputs is used as an input, the input and output signals can get confused sometimes. A master slave (M/S) flip-flop overcomes this bugaboo by storing inputs before allowing outputs to change state.An M/S flip-flop consists of 2 R-S flip-flops in series. The 1st flip-flop is called as master, and the 2nd is called as slave. The master flip-flop functions when clock output is high, and the slave acts during next low portion of clock output. This time delay prevents from the confusion between input and output of circuit.