work in progress for send_event example