make_trajectory