Lock q and e to monitor 1 and 2 rather than looping