Made a new line generator. Currently untested.