add setter for root