chapter 7 done, added validation to models.