add example 1 code