updated moveTo()