added ilustration of graphical model