Ben's bubble program