added credit
added adaboost functionality