funcCode added