gbm example edits