taking a midterm requires that you are in the class