chapter 3 - added mongoose schema