classification and indexing of records