add nameLabel functionality