removed indexLR, using iterLRbreak instead