correction for calss C