changed simple classifier according to new interface