refactoring to use the new taxi result object