         let pickerController = UIImagePickerController()
         pickerController.delegate = self
         pickerController.allowsEditing = true
-        self.presentViewController(pickerController, animated: true, completion: nil)
+        presentViewController(pickerController, animated: true, completion: nil)
     }
     
     

    var image: UIImage
    var memedImage: UIImage
}





    override func viewDidLoad() {
        super.viewDidLoad()
        
        navigationController?.delegate = self
        
        // set the properties of the text fields
        topTF.delegate = self
