added fireflies pattern, refactored bubbles