       scaleX = -1
       scaleY = 1
     }
-    animateIn(x: 0, y: 0, scaleX: scaleX, scaleY: scaleY, alpha: 1, configuration: configuration, completion: completion)
+    animateIn(animationValues: AnimationValues(x: 0, y: 0, scaleX: scaleX, scaleY: scaleY), alpha: 1, configuration: configuration, completion: completion)
   }
 
   func shake(repeatCount: Int, configuration: AnimationConfiguration, completion: AnimatableCompletion? = nil) {

    switch way {
    case .in:
      alpha = 0
      animateIn(x: values.x, y: values.y, scaleX: values.scaleX, scaleY: values.scaleY, alpha: 1, configuration: configuration, completion: completion)
    case .out:
      animateOut(x: values.x, y: values.y, scaleX: values.scaleX, scaleY: values.scaleY, alpha: 0, configuration: configuration, completion: completion)
    }
  }


      fadeInOut(configuration: configuration, completion: completion)
    case .in:
      alpha = 0
      animateIn(animationValues: AnimationValues(x: 0, y: 0, scaleX: 1, scaleY: 1), alpha: 1, configuration: configuration, completion: completion)
    case .out:
      alpha = 1
      animateOut(animationValues: AnimationValues(x: 0, y: 0, scaleX: 1, scaleY: 1), alpha: 0, configuration: configuration, completion: completion)
    }
  }

