basic logic that everyone should know | ScratchStats