Henrik thanks so the interrupt will not jump to the set line number if I just turn on portb.0 interrupt thats good and then polling the interrupt flag bit will work like a latch for me thats good.

Ok will try and by the way Im just getting back into PBP so lock up is my middle name