adding adam and mines version of the acceleromter based bubbles