added decision diagram