added example for simple function call