Why did this become more verbose? I compressed it because the previous lines of code set the $line variable based on $type already. No need to redefine it, is there?