layout + EventRepository