add NewCustomPool to the pool package