Function pointer and add comments