custom works minus duplicates