Changed to a simple flip flop using Key clock.