added a getter for name