added index

added index with message