added back doc for local function