reorganizes indexing subpackage