name-label functionality