replacing Await.ready with Await.result