just use the shell 'function' syntax