changes to inferenceengine