Although true that $v2 and $chan return the same information, there is nothing wrong with making a script backwards compatible if it doesn't affect the speed, reliability, etc. of the script.