allow multiple events for loop