made sure all unique items are being kept