                 setupDeck()
                 layoutDeck()
                 
-                if let delegate = delegate?.kolodaShouldApplyAppearAnimation(self) where delegate == true {
+                if let shouldApply = delegate?.kolodaShouldApplyAppearAnimation(self) where shouldApply == true {
                     applyAppearAnimation()
                 }
             }

                applyRevertAnimation(firstCardView)
            }
            
            for (index, currentCard) in enumerate(visibleCards) {
                let frameAnimation = POPBasicAnimation(propertyNamed: kPOPViewFrame)
                
                frameAnimation.duration = backgroundCardFrameAnimationDuration

                    _ in
                    self.animating = false
                    
                    for index in 1..<self.visibleCards.count {
                        let card = self.visibleCards[index]
                        card.alpha = 0.7
                    }
            })
