Big refactor. BUBBLES COUNTER!