improved syntax around scratchpads