trajectory saver/ trajectory executor