Change the parenting function to the await function