feature/246/deduplication-function