Changed menu to a reusable code block, added implementation hint