Convert to using a pool