The GBM implementation