named func correction