added a nameLabel and functionality