added stateless deduper