Remove pools
Implement analyzing functions