added replication example