modify moveTo method