progress on addInstance