finished replicate to args to replace