working replicatoin