working simple event management