write example 2