Explain logic.