replication diagram