added ability to set objects