added index for viewing