Your custom object contains a single list and you want to iterate and index it. But for this, you have to access it. Since all attributes are public, this is possible but what if you want to hide the public list and iterate and index the object itself? In this video, you see how this works.