created a custom directive representing an itinerary