adding diagram display