keeps track of the already cached events