Some scratchpad work