add setter/getter method for name