case with two covariates (L=3), not complete yet