adding resistors to interrupt