support two interrupts and begin to add runtime detective for race