now using the new inference/instance code only