     // MARK: gesture
 
     @objc final func moveLeftKnob(gestureRecognizer: UIPanGestureRecognizer) {
-        knobGestureManager.moveLeftKnob(
-            gesture: GestureData(
-                gestureRecognizer: gestureRecognizer,
-                scale: scale,
-                stepIncrement: stepIncrement,
-                semanticContentAttribute: self.semanticContentAttribute
-            )
-        )
+        knobGestureManager.moveLeftKnob(gesture: getGestureData(gestureRecognizer: gestureRecognizer))
     }
 
     @objc final func moveRightKnob(gestureRecognizer: UIPanGestureRecognizer) {
-        knobGestureManager.moveRightKnob(
-            gesture: GestureData(
-                gestureRecognizer: gestureRecognizer,
-                scale: scale,
-                stepIncrement: stepIncrement,
-                semanticContentAttribute: self.semanticContentAttribute
-            )
+        knobGestureManager.moveRightKnob(gesture: getGestureData(gestureRecognizer: gestureRecognizer))
+    }
+
+    private func getGestureData(gestureRecognizer: UIPanGestureRecognizer) -> GestureData {
+        return GestureData(
+            gestureRecognizer: gestureRecognizer,
+            scale: scale,
+            stepIncrement: stepIncrement,
+            semanticContentAttribute: self.semanticContentAttribute
         )
     }
 

        )
    }

    // MARK: Gradient

    private func addGradientToNotSelectedRange() {
        let properties = GradientProperties(

        )

        if !rangeSelected.maxValue.isNaN && !rangeSelected.maxValue.isNaN {
            delegate?.rangeChangeFinished(
                minValueSelected: rangeSelected.minValue,
                maxValueSelected: rangeSelected.maxValue,
                slider: self
            )
        }
    }
}
