modified to index list of structured object
modified to index list of structured object