complicated code 1 | ScratchStats