added ability to pass further parameters to replicate. closes #135