For's changed by where and index