intermediate res