potential solution | ScratchStats