refact load instance
not complete