added new event functionality to menu