did the function pointer cast