adding in the dlambda and finishing chapter 5