trip planning framework