add lines to b