addInstance(instance *Instance)