tick event now passes remaining time in array