added Eric's bouncing blob code