Under the gun
Billy had an hour to finish his test.
He sat and daydreamed for the first 45 minutes.
When he finally got started he realized there was an essay to write.
He wrote and wrote as fast as he could.
He turned in his test with 30 seconds to spare.