add interrupt for IN