Help me explain the logic | ScratchStats