Implemented simpler pooling system.