Tim's history class was first thing in the morning.
Tim failed the final exam.
Tim stayed up all night and slept through his morning alarms, so he didn't wake up in time for class.
Tim studied hard and got to class early.