add interrupt functions

add interrupt functions