second draft of example 2