index changed 3 times