         visibleCards.removeFirst()
         
         currentCardIndex += 1
-        let shownCardsCount = currentCardIndex + defaultCountOfVisibleCards
+        let shownCardsCount = currentCardIndex + countOfVisibleCards
         if shownCardsCount - 1 < countOfCards {
             loadNextCard()
         }

            return
        }
        
        let visibleIndexes = [Int](indexRange).filter { $0 >= currentCardIndex && $0 < currentCardIndex + defaultCountOfVisibleCards }
        visibleIndexes.forEach { index in
            let visibleCardIndex = index - currentCardIndex
            if visibleCards.count > visibleCardIndex {

    }
    
    private func missingCardsCount() -> Int {
        return min(countOfVisibleCards - visibleCards.count, countOfCards - (currentCardIndex + 1))
    }
    
    // MARK: Public
