added tagging to backend