implemented menu item rendering