now throwing means no while read loops, but since there was only one while read loop, it worked out!