add setter for reference