initializing new event within the for loop