Methods to obtain origin and target paths