Switched from control flow operators to boolean operators