Add scratch buffer