close #4: optionally transfer trajectory output