add demo and add validator to diagram