added bash_func