Refactor method(s) to determine best path