added movement in z-axis