simplified logic for setting objects