added line merge operation