adding to example 2