add functions to pool.hpp reflecting changes in pool_core