arrayOfLines in place