is there a more efficient way of reading classes with the same name, rather than doing what im doing, i basically go through a code with index, because they all have the same na