Simple example worked on first run. Now for conditional variables.