some changes in PoolController