add gen lines