add fixes for running multiple events at once, could have introduced some bugs
add outputs for 100 events at once