add util inspect to print the functions args and ret value