added funcList and definitionList