add example of function pointers