beginning PIC code