clickCycle logic