initialized the sync object.