add EventRepository