dynamically loads trip legs