use iterator for loop ticker