Changed syncronous call to asynchronus call