refactored network inference works