initialized `$comments` before the `if($thread)` just in case `$thread` did not pass the if condition po :bow: