     var isGrantedNotificationAccess = false
 
     
-    
-    
-    
-    
-    
-    
+    func makeContent() -> UNMutableNotificationContent {
+        let content = UNMutableNotificationContent()
+        content.title = "Title"
+        content.body = "Body"
+        content.userInfo = ["step":0]
+        return content
+    }
+    
+    func addNotifications(trigger:UNNotificationTrigger?, content:UNMutableNotificationContent, identifier:String) {
+        let request = UNNotificationRequest(identifier: identifier, content: content, trigger: trigger)
+        UNUserNotificationCenter.current().add(request) {
+            (error) in
+            if error != nil {
+                print("Error adding notification: \(error?.localizedDescription)")
+            }
+        }
+    }
     
 
     @IBOutlet weak var tableView: UITableView!

                    message.from = value?["from"] as! String
                    message.uuid = value?["uuid"] as! String
                    message.getAt = value?["getAt"] as! String
                }





            // take in the message's show critera
//            message.displayable = value?["displayable"] as! String

            // that message's unique id
            message.key = snapshot.key

    @IBAction func tappedLogout(_ sender: Any) {
        dismiss(animated: true, completion: nil)
    }
    
    //MARK: - Delegates in-app notifications
    
    @available(iOS 10.0, *)
    func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
        completionHandler([.alert, .sound]) //presentation options as arguments
    }
    
    


}
