Prototype (non-working) of send_events