added interrupt class to aquire correct locks