added back the usage of recordUseDefChain