added nameLabel and functionality