output readability improvement

nested function calls are show as such; the result of the function calls
is printer before the name of the function and the arguments it took