Replication example

Issue: "Replication example #306"