pass threads loops and ramp into contextSe2.shd