     
     @IBOutlet weak var notificationsTableView: UITableView!
     
-    var checkedEvents: [Bool] = []
+    var checkmarkedEvents: [Bool] = []
     
     // TGEvent arr
-    var currentUserEvents: [TGEvent] = []
+    var filteredEvents: [TGEvent] = []
     
     var refreshControl: UIRefreshControl!
     

        
        var types = [String]()
        var count = 0
        for checked in checkedEvents {
            if checked {
                types.append(allTypes[count])
               

    }
    
    func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
        print(filteredEvents.count)
        return filteredEvents.count
    }
    
    func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
        let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as! NotificationTableViewCell
                
        cell.configureCellWithEvent(filteredEvents[indexPath.row])
        
        return cell
    }
