function typed formal parameters is always a function, so add a functionType to the parameter