move out classify code for feature branch