allow multiple events for loop
Merge pull request #1 from nathanscott/master

allow multiple events for loop