error validations added