FEATURE-4: Added example code that handles BAR case.

Signed-off-by: Adam Donahue <adam.donahue@axial.net>
FEATURE-4: Fixed per comment from Adam.

Signed-off-by: Adam Donahue <adam.donahue@axial.net>