updating example 1