adding topology to output
adding cleanup of passingEvents on new run