made botnamecheck2 a static function