How does pooling work