more elegant way to move robot