Add createMenu function to order the menu