the relationship between the D and JK design is not quite so clear. However, if the logic for D is connected to J and the complement of that to K, the circuit will work. (Again, this might not be the best design for the JK flip flop; it certainly was not in this example.)