do not use shared_ptrs for events
ok