use the index in pico_collection instead of iterating through the data file