add docs for example 4