added implementation of menu items