refactor page.create by using async