Added getLabel method