Simplified logic.