fixed bug in iterarrival times