       openEyeAnimation.toValue = _pathProvider.happyMouthPath
       
       animationGroup.animations = [closeEyeAnimation, openEyeAnimation]
+      animationGroup.delegate = self
       _mouthLayer.addAnimation(animationGroup, forKey: "shrinkMouth")
    }
    

      openEyeAnimation.toValue = _pathProvider.scaredMouthPath
      
      animationGroup.animations = [closeEyeAnimation, openEyeAnimation]
      _mouthLayer.addAnimation(animationGroup, forKey: "scaredMouthShrink")
   }
   

      openEyeAnimation.toValue = _pathProvider.normalLeftEyePath
      
      animationGroup.animations = [closeEyeAnimation, openEyeAnimation]
      
      animationGroup.delegate = self
      _leftEyeLayer.addAnimation(animationGroup, forKey: "blinkLeftEye")
   }
   
