thanks guys I noticed I made a big bo bo I wrote that I was using a pic16f683 it should have read pic16f628 also I looked at everything but the examples. I went through the entire manual but never thought of looking at the examples thanks again at least I got a place to start