flip flop measure part is added