creating and reading from replicas