optimizing implementation of ShareEventWire