added unique.insert and unique.merge methods