an complete demo of classification