shell script function with argument