First complete version of deduplication