added synch block with instance of object