working on the command-line parameters