layer2 tick is being called by timer one