Program not working as intended

I thought I had used Serial.print at various points to show the motor speed and print messages at various points in the program.
Do you have a suggestion for adjusting the "current time"? Because I can't see it, woods and trees stc.