Added a loop for adding items from menu