Add example of functional pointers