 
             layoutSuggestionsOptInPrompt()
         }
+    }
+
+    private var quickSearchEngines: [OpenSearchEngine] {
+        var engines = searchEngines.quickSearchEngines
+
+        // If we're not showing search suggestions, the default search engine won't be visible
+        // at the top of the table. Show it with the others in the bottom search bar.
+        if isPrivate || !searchEngines.shouldShowSearchSuggestions {
+            engines.insert(searchEngines.defaultEngine, atIndex: 0)
+        }
+
+        return engines
     }
 
     private func layoutSuggestionsOptInPrompt() {

    }

    func SELdidSelectEngine(sender: UIButton) {
        // The UIButtons are the same cardinality and order as the array of quick search engines
        for i in 0..<searchEngineScrollViewContent.subviews.count {
            if let button = searchEngineScrollViewContent.subviews[i] as? UIButton {
                if button === sender {
                    //subtract 1 from index to account for magnifying glass accessory
                    if let url = searchEngines.quickSearchEngines[i-1].searchURLForQuery(searchQuery) {
                        searchDelegate?.searchViewController(self, didSelectURL: url)
                    }
                }
            }
        }
    }



        //search engines
        leftEdge = searchButton.snp_right
        for engine in quickSearchEngines {
            let engineButton = UIButton()
            engineButton.setImage(engine.image, forState: UIControlState.Normal)
            engineButton.imageView?.contentMode = UIViewContentMode.ScaleAspectFit
