replacing some of duplicate contents