             let label = UILabel(frame: CGRect(x: 10 + (i*500), y: 10, width: 50, height: 100))
             label.text = singlePlant.captions[i]
             
-            
             // Decode Base64 string into NSData
             let imageData = NSData(base64EncodedString: singlePlant.images[i], options: NSDataBase64DecodingOptions(rawValue: 0))
             

            let imageView = UIImageView(frame: CGRect(x: (i*500), y: 0, width: 500, height: 500))
            imageView.image = UIImage(data: imageData!)
            
            
            scrollView.addSubview(imageView)
            scrollView.addSubview(label)
            
    
        }
        let scrollViewWidth = CGFloat(singlePlant.images.count * 500)

        coolFactsTextView.text = singlePlant.coolFact
        descriptionTextView.editable = false;
        coolFactsTextView.editable = false;
    }
    
    // Function for text-to-speech
