add Predict struct