added Tommo's visibility inheritance work (with a few minor tweaks)
added example of visbility inheritance (thank you, Tommo!)