Wrapping for chapter 6 for now, skimmed through the CSP tree