add chapter about memory