added example for using PredictionOutput