added predictionApi