corruption detection and handling are now performed. device functionality separated into distinct modes of operation.