     }
     
     func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
-        return _historyDisplayURLs.count
+        if section == 0 {
+            return _historyTopMatches.count
+        } else {
+            return _historyDisplayURLs.count
+        }
+    }
+    
+    func tableView(tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
+        if section == 0 {
+            return "Top Matches"
+        } else {
+            return "History"
+        }
     }
     
     func addToHistory(webView: WKWebView) {

            _suggestionsTableView?.tableFooterView = UIView(frame: CGRectZero)
            self.view.insertSubview(_suggestionsTableView!, belowSubview: _settingsBarView!)
        }
        _historyDisplayURLs.removeAll(keepCapacity: false)
        for entry:HistoryEntry in _history! {
            if entry.title?.lowercaseString.rangeOfString(_searchBar.text) != nil {
                _historyDisplayURLs.append(entry)
            } else if entry.urlString.lowercaseString.rangeOfString(_searchBar.text) != nil {
                _historyDisplayURLs.append(entry)
            }
        }
        _suggestionsTableView?.reloadData()
    }

    func verifyUniquenessOfURL(urlStr: String) -> Bool {
        for entry:HistoryEntry in _history! {
            let fullURLString = entry.url.absoluteString as String!
            if fullURLString == urlStr {
                return false
            }
        }
