moved showHelp to it's own function