         self.refreshControl.addTarget(self, action: "forceUpdateDatabase", forControlEvents: .ValueChanged)
         self.tableView.addSubview(refreshControl)
         
+        cleanDatabaseForThreshold(7)
         updateUITableView(force: false)
     }
     

        }
    }
    
    // there should be a cleaner way to do this
    func forceUpdateDatabase() {
        updateUITableView(force: true)
        self.refreshControl.endRefreshing()
    }
    
    // MARK: fetch and update Database
    func updateUITableView(force force: Bool) {
        // set force to true to update every time
        NSOperationQueue().addOperationWithBlock {

//

// todo: 
// * mark food without pork and veggie food
// * upload fotos and write comments

