main classify type