example for your first code v1 | ScratchStats