The effect of attending class is needing to pay attention