rewrite of event