indexes for sample classes