work out some complex covariates