finally merged line into lines