Added random line generation