Example of the ideas in the pluralsight course with some deviation