how do i determine the travel on the z-axis