add lines to merge data.