added classify_all