Refactoring stamp graph label