[source,swift]
----
// Each function does a part of what the original setCoordinates function was doing, so confusion risks are lower
func setOrigin(x: Int, y: Int, z: Int) {
   // ...
}

func setSize(width: Int, height: Int, depth: Int) {
   // ...
}
----
