Implemented lifespans for bubbles.