added scratchpad