add return function pointer and function pointer array