v1:add interrupt version of 9.c