add events and menu