adding scratchpad