interrupt check added