code-deduplication: dmorton