work with segparams