modified to only received and output the events and not process the messages