added command-line parameters