added option to show function arguments