replicates implementation