Work with reference

I rename attribute for fix some conflict.
And can set attribute with reference.