Week 5b: Fixed a typo in the generation code.