refactor replication