Add interrupt code