part 7: Adding Validation to the Model