added getfullscratchpad definition