Fixed example

Fixed example of function usage to something more relevant.