localized class function