add function pointer book