             }
         }
         // Toast Feedback:
-        makeListToast(listName, iList: currentIngredientToAdd)
+        makeListToast(listName, iList: adding)
         
         // update with new ingredient list:
         listObject.setObject(list, forKey: ingredientsColumnName)
         listObject.saveInBackground()
     }
+    
+    /* createNewList
+        To be called on naming page - to create new list with a name
+    */
+    func createNewList(listName: String, adding: [PFIngredient]) {
+        var list = [PFIngredient]()
+        for ingredient in adding{ list.append(ingredient) }
+        createIngredientList(currentUser!,
+            title: listName, ingredients: list)
+        
+        // toast feedback:
+        makeListToast(newListTitle, iList: adding)
+    }
+    
     
     
     // MARK: Toast Message - --------------------------------------------------

    
    // MARK: Appending to list ---------------------------------------------
    /* addToList
    */
    func addtoList(listObject: PFObject, adding: [PFIngredient]) {
        var list = listObject.objectForKey(ingredientsColumnName) as! [PFIngredient]

    */
    override func tableView(tableView: UITableView,
        didSelectRowAtIndexPath indexPath: NSIndexPath) {

            // Create new list:
            if (indexPath.row == 0){
                if (!currentIngredientToAdd.isEmpty) {
                    createNewList(newListTitle, adding: currentIngredientToAdd)
                    // clear global var:
                    currentIngredientToAdd = []
                } else {
                    createNewList(newListTitle, adding: currentSearch)
                }

            // Picked an existing list:
            } else {
                let listObject = userLists[indexPath.row - 1]
                
                // add 1 Ingredient:
                if (!currentIngredientToAdd.isEmpty) {
                    addtoList(listObject, adding: currentIngredientToAdd)
                    // clear global var:
                    currentIngredientToAdd = []

                // OR Add Current Search:
                } else {
                    addtoList(listObject, adding: currentSearch)
                }

                // go back to search page:
                self.navigationController?.popViewControllerAnimated(true)
            }
    }

    // MARK: Functions -------------------------------------------------
