moved bubbleMap to its own class