Solution for replicate