Fix using function pointer. Part 2