removed no-duplicates restriction