Goal refactoring using findDirectionsFrom