tweaked loaders to handle duplicates