added method and tests for building new trip data structure