added scratchpad libraries