Implemented scratchpad