added exchange replication stuff