removed fitted.b to reduce memory consumption