callFunctionByName instead of getFunctionByName