added support for selecting for lines to the path model