Modified the move function in order to go to a particular point and stop