commented pool.py