None of these variables like `invalidLine` or `nowhereToGo` are ever used -- might as well remove them.