replication improving from the client side