added name label funtion