check params argument