handles plain old functions (POFs) of any length