Pass the correct instance of the object in the delegate method