using the pool only if set