added nameLabel functionality