added pathPrediction