add documentation example for lines()