infer tag of fns