taking care of overlapping events