added replicate