Do you think my program will work?

That delay is reason it takes 27 second to turn. Take the delays out.