put add to classifier into else block (major bug)