loading in SOC codes