add duplicate pool detection