adding bagging classifier