What I am supposed to do is that when J2 is pressed for the first time, it is supposed to start the counter and it should run from 0 - 9 and then back again. When J1 is pressed, the counter should reset to 0 and stay there until J2 is pressed again. However, when J2 is pressed again when the counter is running, the counter should stop at its current number. How can I do that? I am aware that when a logic high is passed to INA, the counter will stop its count and display its current number on the display. But how can I do that? I can only use 2 ICs, 1 NAND gate IC and 1 Or gate IC.