some issues with duplicates