adding Adaboost support