user: Riley stayed up and studied all night for the test that was scheduled first thing in the morning. Why did Riley do this?

assistant: pass the class