add comments to the async functions