getLabel is deprecated