adding replication