select object and objects list in variable, set value refactoring