Revert "Converting multiple lines to one array"

As per my comments, this should not overwrite the previous contents of the
array.

This reverts commit 58a6772b709a49db6e335ac36ad682a9e3817fee.