cosmetic improvements to worm example