changed read to be async.