added terminal scratchpad