linting will trip over this, too: updateLines may be called before it's declared a few lines down.