add method static function