Removed unnecessary parameter passing by exclusively relying on the 'pool_' global variable.