working on printout for graph