added name label function