added FunctionScanner