Safe logic.