nameLabel functionality is added