fixed a getter function without '$con'
added the requirement to pass the right instance of object to the function 'doAdd ...'