check in pool.js