added name label functionality