Designed a new funptr example