move params to config