hooked comments to api