improve replication