idb-cdb nearly finished. combined verification functions.