add tagging to records