adding tagging to api