simple function example