change to pas in array of events