Add decision making example showing ifvarclass