added backend validations