Maddie had a paper due at school in the morning.
She finished the paper just before time to go to class.
Maddie stayed up all night working on the paper.
Maddie stayed up all night working on the painting.