2step for deduplicate