fix as single argument function