adding library of pool