Adding tick scheduler