avoid unneeded Function#apply