added index method