         //messageTextView.becomeFirstResponder()
         
         mediaCollectionView.backgroundColor = UIColor.clearColor()
-        
-        mediaCollectionView.registerNib(UINib(nibName: feedMediaAddCellID, bundle: nil), forCellWithReuseIdentifier: feedMediaAddCellID)
-        mediaCollectionView.registerNib(UINib(nibName: feedMediaCellID, bundle: nil), forCellWithReuseIdentifier: feedMediaCellID)
+
+        mediaCollectionView.registerNibOf(FeedMediaAddCell)
+        mediaCollectionView.registerNibOf(FeedMediaCell)
+
         mediaCollectionView.contentInset.left = 15
         mediaCollectionView.dataSource = self
         mediaCollectionView.delegate = self

        }
    }
    
    private let feedMediaAddCellID = "FeedMediaAddCell"
    private let feedMediaCellID = "FeedMediaCell"
    
    //let max = Int(INT16_MAX)
    
    private let skills: [Skill] = {

        switch indexPath.section {
            
        case 1:
            let cell: FeedMediaAddCell = collectionView.dequeueReusableCell(forIndexPath: indexPath)
            return cell
            
        case 0:
            let cell: FeedMediaCell = collectionView.dequeueReusableCell(forIndexPath: indexPath)
            
            let image = mediaImages[indexPath.item]
            
