function name extraction