add name label functionality