AccelStepper multiple motors

Dear all,
I want to run 10 stepper motors with AccelStepper library and I want to define the speed of each motor in a loop, however, I cannot use my string list as the stepper names. is there any way of doing such an idea?

here is my code:

#include <AccelStepper.h>

String stepper[] = {"step1", "step2", "step3", "step4",...,"stp10"};

AccelStepper stp1 (1, 2, 10);
AccelStepper stp2 (1, 3, 10);
AccelStepper stp3 (1, 4, 10);
AccelStepper stp4 (1, 5, 10);
// ... to 10

void setup() {
for(int i=1 , i<=10;i++){
stepper_.setMaxSpeed(i50);_
stepper_.setAcceleration(i20);_

}
}
void loop() {

}

Rather than an array of names you need to create an array of stepper objects. I think it is done like this

AccelStepper myStepperArray[10];

...R

Thank you so much, it works!