* inLink has been changed to static function.