fit using dummyvars