adding support for multiple pools.