name label functionality