Added cursor range and location