change Open to async await