add dual-simulation for checking deduplication.