reverted index to when tests passed