PIC set up