still can't sleep. fixed the handler function. now all 3 sample programs + interrupts work.