check for existence of parameter, add option to disable echoing so functions can be used for the statusline