 
 extension MotivationsViewController: UICollectionViewDataSource {
     
-    public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
+    func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
         return motivations.count
     }
     

extension MotivationsViewController: UICollectionViewDelegateFlowLayout {
    
    func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize {
        let width = UIScreen.main.bounds.width - 100
        let height = UIScreen.main.bounds.height - 200
        
        return CGSize(width: width, height: height)
    }
    
    func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, insetForSectionAt section: Int) -> UIEdgeInsets {
        let frameWidth = UIScreen.main.bounds.size.width
        let cellWidth: CGFloat = UIScreen.main.bounds.size.width - 100
        
        let result = (frameWidth - cellWidth) / 2
        
        return UIEdgeInsets(top: 0, left: result, bottom: 0, right: result)
    }
    
}

    /// Motivations array
    fileprivate var motivations: [Motivation] = []
    
    
    // MARK: - Public
    
