modified index to remove pics