changed program for PIC16LF1509