show how to define a function