Dont create event in the loop