Added tickCount for acconting