added list of connectivity for all lines