Tweaked the bean example