added index to path