adds lambda scope code example from oracle tutorial
merge from origin