Added code for nameLabel