rearranged structure to be organized by category instead of language