tweaked read/write modes; better logs