End chapter 6 lyah + some problems