traj opt new setup