debugging classification, visualization added