example 2 revised