Sketch of event wrapping, far from complete