set refer state object referenc impl set refer state referenc 