deduped code