Added random line generator