add structure for classifier and extracter