Description of sample and index building procedures