Moving trajectory execution to single method.