implemented bubbles pooling