More reliable method of finding pool id