Completed functionality of the menu. Not for styling.