function example 2

example 2