added index endpoint