Working on table of events