classifier intermediate update. This version does NOT work yet