added function name in Function model