Add InDexOf method