Scratch buffer