added a component that prints out events it receives