Homework 10 - Adding validation errors