The context of the following conversation is Aubrey stayed up all night studying. The next day in class she fell asleep.:
Aubrey says Oh my goodness I had such a late night last night..
The friend responds What were you doing up at night?.
Aubrey responds I was studying for that sociology exam all night..
The friend responds That stinks, you really should have studied earlier..
Aubrey responds I know, and to make it all worse I had fallen asleep in the class while taking the test..
The friend responds Oh no! Girl, you really need to get your sleep schedule back on track..