Adding small function pointers example