Implemented the method to go to other points.
changed some stuff -- took ou resampling when no resampling needed