John had been procrastinating for his work project all week.
He finally finished his project at 7 AM in the morning.
At 3 a.m. John had gotten a great idea and got up to finish his project.
At 3 p.m. John had gotten a great idea and got up to finish his project.