refactoring of the Label