lines know their family

added fields for line source and outlet