setter for halResource