     private class CollectionViewController : NSObject, UICollectionViewDataSource, UICollectionViewDelegate, UICollectionViewDelegateFlowLayout{
         static let textOnlyCellIdentifier = "textOnlyCellIdentifier"
         static let imageOnlyCellIdentifier = "imageOnlyCellIdentifier"
-        static let imagAndTextCellIdentifier = "imagAndTextCellIdentifier"
+        static let imageOnTopCellIdentifier = "imageOnTopCellIdentifier"
+        static let imageOnLeftCellIdentifier = "imageOnLeftCellIdentifier"
         
         private weak var segmentedControl: ScrollableSegmentedControl!
         

                    collectionView?.register(TextOnlySegmentCollectionViewCell.self, forCellWithReuseIdentifier: CollectionViewController.textOnlyCellIdentifier)
                case .imageOnly:
                    collectionView?.register(ImageOnlySegmentCollectionViewCell.self, forCellWithReuseIdentifier: CollectionViewController.imageOnlyCellIdentifier)
                default:
                    collectionView?.register(ImageAndTextSegmentCollectionViewCell.self, forCellWithReuseIdentifier: CollectionViewController.imagAndTextCellIdentifier)
                }
                
                setNeedsLayout()

                let cell = collectionView.dequeueReusableCell(withReuseIdentifier: CollectionViewController.imageOnlyCellIdentifier, for: indexPath) as! ImageOnlySegmentCollectionViewCell
                cell.imageView.image = data.image
                segmentCell = cell
            case .imageOnTop:
                let cell = collectionView.dequeueReusableCell(withReuseIdentifier: CollectionViewController.imageOnTopCellIdentifier, for: indexPath) as! ImageOnTopSegmentCollectionViewCell
                cell.titleLabel.text = data.title
                cell.imageView.image = data.image
                
                segmentCell = cell
            case .imageOnLeft:
                let cell = collectionView.dequeueReusableCell(withReuseIdentifier: CollectionViewController.imageOnLeftCellIdentifier, for: indexPath) as! ImageOnLeftSegmentCollectionViewCell
                cell.titleLabel.text = data.title
                cell.imageView.image = data.image
                
                segmentCell = cell
            }
