add validation diagram