adding replication tagging