moved loading scope