logging optimized a bit (one write instead of 3), one log entry not larger than 512 bytes (one block)
item to remember added