added events and menus