store events in dictionary for faster loading