     SysCalls.move_absolute(
       needs["x"],
       needs["y"],
-      needs["current_z"],
+      SysCalls.get_current_z(),
       needs["speed_x"],
       needs["speed_y"],
       needs["speed_z"]


  def extend_z(needs) do
    SysCalls.move_absolute(
      needs["current_x"],
      needs["current_y"],
      needs["z"],
      needs["speed_x"],
      needs["speed_y"],


  def retract_z(needs) do
    SysCalls.move_absolute(
      SysCalls.get_current_x(),
      SysCalls.get_current_y(),
      needs["z"],
      needs["speed_x"],
      needs["speed_y"],
