suggest refactor to showHelpMsg