syncronized the asyncronous calls