Working implementation. Nested menu items not working