draft revision of abi detection