more on example 2
tweaks to example 3