effect of order of function arguments