tranpose arguments to fn.