need the lines of output in an array