Improve line seeking thing