Added a moveTo function