Explain the logic.