removed chunk onTick method