added getclasslabel()