early prototype of events, functional but lacks many features (mostly sorting)