x and z dir only