Corrected version of Ch 12 project