Variables, Condition, and Calculate: real branching logic and math