adding movement for x, y and z axis