I added some validations
Added some validations