added default params
ensure params