Added lower and upper indexes