Delay not working as expected

You the MAN! Took me a little bit to code that because I'm still learning, but it works good after a couple tries at the step number of steps needed.
.This is what I added

 for (int i=0; i<7; i++){
    digitalWrite(dirPin, LOW);
    digitalWrite(stepPin, HIGH);
    delayMicroseconds(pd);
    digitalWrite(stepPin, LOW);
    delayMicroseconds(pd);
  }

Thanks
Greg