almost finished 1.6 Inference Engine