refact load instance