added function pointer type

with 'function' keyword