now collect all priv funcs on compiletime