PredictVM function added