restructured function invokation
restructured function invokation