example of printing events to chat added