added back x,y and z variables to the move block