oops, fixed bad Func type declaration