add lines to table