added an example to add parts of the line together