add validation to addition