replicate.xml added as an example