Chapter 6 PIC project