Paying attention in class makes a difference