added params snippet