Now using menuElements for the menu elements