modified index to add pics