reorganized finding path stuff