Change pool2 to pool