Added get_label method