switched order of index and friend