add missing currentTick++, still not working