Modified average class