started to work on event caching