Two instances of object works