Trajectory mode working