added print-params argument