I have an object instantiated and I would like to call a function of this object that going to set an attribute of it.