Added add_validation method