getRange is now const