new file:   replication.py