added example of function declaration