defined create funcion and the quote_params