Sometimes taking a midterm causes academic success