have list instead of dictionary as suggested by Alexandre
this prevents incorrect deduplication