changed name of field from opa_code to tencode