add z axis alignment