         }
     }
     
+    func selectNewImage() {
+        let imagePicker = UIImagePickerController()
+        imagePicker.delegate = self
+        present(imagePicker, animated: true, completion: nil)
+    }
+    
     private func showNotification(title: String, message: String) {
         let vc = UIAlertController(title: title, message: message, preferredStyle: .alert)
         present(vc, animated: true, completion: nil)

        return textView
    }()
    
    private let imagePreview: UIImageView = {
        let imageView = UIImageView()
        imageView.translatesAutoresizingMaskIntoConstraints = false
        imageView.heightAnchor.constraint(equalToConstant: 200).isActive = true
        imageView.contentMode = .scaleAspectFit
        return imageView
    }()
    
    private let submitButton: UIButton = {

    
    var image: UIImage? {
        didSet {
            imagePreviewButton.setImage(image, for: .normal)
        }
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()
        view.backgroundColor = UIColor(white: 0.95, alpha: 1.0)
        
        view.addSubview(scrollView)
        scrollView.addSubview(stack)
