So I'm working on a keypad lock that a buddy of mine wanted me to do for him and I designed it so that I could use what materials I had laying around. Once I began working I noticed that I lacked a SR latch. However, I do have a JK flip flop. Would it be possible to substitute? The JK flip flop in question is the MC14027BCP. Thanks in advance.