Fix pool functions so they reuse eachother Fixes #58