add prediction for GAM