undid change to z-direction, was reversed.