check vars against function arguments, not free variables