merge lines