Example Code from Software Engineering Candies (www.sw-engineering-candies.com)