dEdx class development