add builder and predictor