prep for replication