Zach had a project due.
Zach had written the due date on the wrong day.
Zach was scrambling to get it done and couldn't believe his bad luck.
Zach was scrambling to get it done and couldn't believe his luck.