added flow of ideas from example 1 to example 2