ex26: fixing somebody else's mistakes, and making a few of my own