added tracePath function