example of a function use