resource and partial to eliminate duplicates