add __toString to display the event name when printing