less hacky event printing